package customer_manage_analysis_command;

public class AnalysisCommandString {
	
	//Get首字母，即功能
	public char getMenu(String commandString){
		commandString=commandString.replace(" ", "");    //去空格
		return commandString.charAt(0);
	}
	
	//解析出参数数组
	public String[] dealParameter(String commandString){
		commandString=commandString.replace(" ", "");                      //去空格
		commandString=commandString.substring(1);                          //去掉首字母命令
		String[] strinf=commandString.split(",");
		return strinf;
	}
	

}
